package org.summer.lawyer.domain.bo.nimaccount;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.summer.common.mybatis.core.domain.BaseEntitySearch;
import org.summer.lawyer.domain.NimAccount;

import java.io.Serial;

/**
 * 云信账号信息业务对象 nim_account
 *
 * @author summer
 */
@Schema(title ="云信账号信息视图对象 nim_account", description = "云信账号信息视图对象 nim_account")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NimAccount.class, reverseConvertGenerate = false)
public class NimAccountBo extends BaseEntitySearch {


    @Serial
    private static final long serialVersionUID = 6029075932948955721L;
    /**
     * 主键ID
     */
    @Schema(title = "id", type = "Long", description = "主键ID")
    private Long id;

    /**
     * 用户ID
     */
    @Schema(title = "userId", type = "Long", description = "用户ID")
    private Long userId;

    /**
     * 账号类型(1系统用户，1小程序用户）
     */
    @Schema(title = "nimType", type = "String", description = "账号类型(1系统用户，1小程序用户）")
    private String nimType;

    /**
     * 云信账号ID
     */
    @Schema(title = "accid", type = "String", description = "云信账号ID")
    private String accid;

    /**
     * 小程序用户openid
     */
    @Schema(title = "openId", type = "String", description = "小程序用户openid")
    private String openId;

    /**
     * 昵称
     */
    @Schema(title = "nickname", type = "String", description = "昵称")
    private String nickname;

    /**
     * token
     */
    @Schema(title = "token", type = "String", description = "token")
    private String token;

    /**
     * 头像
     */
    @Schema(title = "avatar", type = "String", description = "头像")
    private String avatar;


}
